package example.documentbased.mainModule.models.vo
{
	import mx.collections.ArrayList;
	
	[RemoteClass(alias="example.documentbased.mainModule.models.vo.EditorVO")]
	public final class EditorVO
	{
		public var id:String;
		
		public var name:String;
		
		public var color:uint;
		
		public var documents:ArrayList; // of DocumentVO
		
		public function EditorVO(id:String = "", name:String = "", 
								 color:uint = 0x000000, 
								 documents:ArrayList = null)
		{
			this.id = id;
			this.name = name;
			this.color = color;
		}
		
		public function apply(value:EditorVO):void
		{
			this.id = value.id;
			this.name = value.name;
			this.color = value.color;
			this.documents = value.documents;
		}
	}
}